//
//  SensorStatusViewController.h
//  GravityControl
//
//  Created by Javier Quevedo on 10/06/2009.
//  Copyright VRIJE 2009. All rights reserved.
//

#import <UIKit/UIKit.h>

@class GravityAgent;

@interface SensorStatusViewController : UIViewController {
	IBOutlet UILabel *xAccelLabel;
	IBOutlet UILabel *yAccelLabel;
	IBOutlet UILabel *zAccelLabel;

	IBOutlet UILabel *xSpeedLabel;
	IBOutlet UILabel *ySpeedLabel;
	IBOutlet UILabel *zSpeedLabel;
	IBOutlet UILabel *angle;	
	
	Boolean isConnected;
	int sock;
	GravityAgent *gravityAgent;
}

- (IBAction) sliceTouched:(id) sender;
- (IBAction) duckTouched:(id) sender;

//@property (nonatomic) Boolean isConnected;
@property (nonatomic, retain) GravityAgent *gravityAgent;
@property (nonatomic, retain) IBOutlet UILabel *xAccelLabel;
@property (nonatomic, retain) IBOutlet UILabel *yAccelLabel;
@property (nonatomic, retain) IBOutlet UILabel *zAccelLabel;
@property (nonatomic, retain) IBOutlet UILabel *xSpeedLabel;
@property (nonatomic, retain) IBOutlet UILabel *ySpeedLabel;
@property (nonatomic, retain) IBOutlet UILabel *zSpeedLabel;
@property (nonatomic, retain) IBOutlet UILabel *angle;

@end
